<page-bar [subTitle]="subTitleTpl">
  <ng-template #subTitleTpl>
    <button nz-button nzSize="small" (click)="back()">返回上一级</button>
  </ng-template>
</page-bar>

<div class="d-flex justify-content-between align-items-center mb-sm">
  <div class="d-flex align-items-center">
    <button *ngIf="auth_btn_add && dict.system ==='0'" (click)="add()" nz-button nzType="primary"
      type='button'>新增字典项</button>
  </div>
</div>

<st #st [data]=" url" [page]="{showSize: true}" [size]="'small'" [columns]="columns"
  [req]="{params: params, reName: { pi: 'current', ps: 'size' }}"
  [res]="{reName: { total: 'data.total', list: 'data.records'}}">
</st>
